FROM registry.yuyou100.com/java:8u171

LABEL MAINTAINER=wens

WORKDIR /home

ADD target/yyfn-message-0.0.1-SNAPSHOT.jar .

ENV JAVA_OPT="-Xms512m -Xmx512m"
ENV PROFLES=test

ENTRYPOINT [ "sh", "-c", "java ${JAVA_OPT} -jar yyfn-message-0.0.1-SNAPSHOT.jar --spring.profiles.active=${PROFLES}" ]


